Ext.define('AM.model.EmployeesModel', {
		  extend: 'Ext.data.Model',
		  alias : 'widget.employeesModel',
		  fields:[
		  			{ name: 'id', type:'int'},
			 		{ name: 'name', type: 'string' },
					{ name: 'dept', type: 'string',mapping:'department.name'},
				    { name: 'rose.name', type: 'string'},
				    { name: 'workage', type: 'string' },
				    { name: 'education', type: 'string' },
				    { name: 'profession', type: 'string',mapping:'professional.name'}, 
				    { name: 'grade', type: 'string',mapping:'professional.grade'},
				    { name: 'postCompetent', type: 'number' },
				    { name: 'postManager', type: 'number' },
				    { name: 'finaceCoffe', type: 'number' },
				    { name: 'password', type: 'string'},
				    { name: 'postcoffe', type: 'number'},
				    { name: 'position', type: 'number'},
				    { name: 'zhiban', type: 'number'},
				    { name: 'card', type: 'string'},
				    { name: 'zuname', type: 'string'}
				    
				 ]
 });
 
